博客
关于我
puppet确保程序运行
阅读量:599 次
发布时间:2019-03-12

本文共 544 字,大约阅读时间需要 1 分钟。

exec {
'keep-nginx-running' : user => 'root', unless => 'ps -x | grep nginx|grep -v grep', command => 'systemctl start nginx.service', path => '/usr/bin:/usr/sbin:/sbin:/bin',
}
```html
exec {
'keep-nginx-running' : user => 'root', unless => 'ps -x | grep nginx|grep -v grep', command => 'systemctl start nginx.service', path => '/usr/bin:/usr/sbin:/sbin:/bin',
}

转载地址:http://ivbxz.baihongyu.com/

你可能感兴趣的文章
R&Python Data Science系列:数据处理(5)--字符串函数基于R(一)
查看>>
PHP设计模式:观察者模式
查看>>
php详细学习1
查看>>
php语言优劣
查看>>
PHP请求https域名发生segment fault段错误
查看>>
PHP读写XML文件
查看>>
PHP读写XML文件
查看>>
R&Python Data Science 系列:数据处理(3)
查看>>
php读取xml 数据库字段超长处理
查看>>
php课程 12-40 抽象类的作用是什么
查看>>
php课程 4-16 数组自定义函数(php数组->桶)
查看>>
php输出数据到csv文件
查看>>
php进程通信
查看>>
R&Python Data Science 系列:数据处理(2)
查看>>
php递归算法总结
查看>>
php错误日志文件
查看>>
PHP错误解决:Array and string offset access syntax with curly braces is deprecated
查看>>
php隐藏手机号中间4位方法总结
查看>>
php面向对象全攻略
查看>>
php面向对象的基础题
查看>>